<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>分拣任务添加</h2>
    </div>
    <form action="{:U('editmission')}" method="post" enctype="multipart/form-data" class="form-horizontal">
        <input type="hidden" name="plandetailId" value="{$data['id']}">
        <input type="hidden" name="planId" value="{$data['planid']}">
        <div class="form-item">
            <label class="item-label">成品名称</label>
            <div class="controls">
                <div class="change">
                    <label class="item-label">{$data["product"]}</label>
                </div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">规格</label>
            <div class="controls">
                <div class="change">
                    <label class="item-label">{$data["spec"]}</label>
                </div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">原料批次</label>
            <div class="controls">
                <div class="change">
                    <label class="item-label">{$data["originalbatch"]}</label>
                </div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">需要分拣数量</label>
            <div class="controls">
                <input type="text" class="text input-large" name="plancnt" value="{$data['plancnt']}">
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn  ajax-post" id="submit" type="submit" target-form="form-horizontal">修 改</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);
                    return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Sort/planindex')}');
    </script>
</block>